@import '~styles/colors.less';

.root {
  position: relative;
}

.content {
  position: relative;
  border: 1px solid @chromeBordersColor;
  padding: 12px;
  font-size: 10px;
  line-height: 14px;
  color: @chromeTextColor;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 8px;

  &:hover {
    border-color: @primary;

    .removeButton {
      visibility: visible;
    }
  }
}

.removeButton {
  position: absolute;
  right: 1px; top: 1px; bottom: 1px;
  width: 30px;
  text-align: center;
  visibility: hidden;
  background: -moz-linear-gradient(left, rgba(51,54,59,0) 0%, rgba(51,54,59,1) 23%, rgba(51,54,59,1) 100%);
  background: -webkit-linear-gradient(left, rgba(51,54,59,0) 0%,rgba(51,54,59,1) 23%,rgba(51,54,59,1) 100%);
  background: linear-gradient(to right, rgba(51,54,59,0) 0%,rgba(51,54,59,1) 23%,rgba(51,54,59,1) 100%);

  :global i {
    color: @chromeTextSubColor;
    line-height: 36px;
    font-size: 11px;
  }

  &:hover {
    :global i {
      color: #ffffff;
    }
  }
}
